encoding/json.encodeState.error (method)
12 uses
encoding/json (current package)
encode.go#L348: func (e *encodeState) error(err error) {
encode.go#L491: e.error(&MarshalerError{v.Type(), err, "MarshalJSON"})
encode.go#L510: e.error(&MarshalerError{v.Type(), err, "MarshalJSON"})
encode.go#L526: e.error(&MarshalerError{v.Type(), err, "MarshalText"})
encode.go#L540: e.error(&MarshalerError{v.Type(), err, "MarshalText"})
encode.go#L574: e.error(&UnsupportedValueError{v, strconv.FormatFloat(f, 'g', -1, int(bits))})
encode.go#L619: e.error(fmt.Errorf("json: invalid number literal %q", numStr))
encode.go#L704: e.error(&UnsupportedTypeError{v.Type()})
encode.go#L775: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
encode.go#L790: e.error(fmt.Errorf("json: encoding error for type %q: %q", v.Type().String(), err.Error()))
encode.go#L858: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
encode.go#L914: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |